package com.bgrconsulting.stockorderentry.service.model;

import java.util.Date;

public class Order {
	
	private String accountId;
	private String masterAccount;
	private int orderId;
	private Date orderPlacedTime;
	private Double orderValue;
	private String orderStatus;
	private String orderType;
	private String orderTerm;
	private String priceType;
	private Double limitPrice;
	private Double stopPrice;
	private LegDetails legDetails;
	private boolean allOrNone;
	
	public Order(String accountId,
			String masterAccount,
			int orderId,
			Date orderPlacedTime,
			Double orderValue,
			String orderStatus,
			String orderType,
			String orderTerm,
			String priceType,
			Double limitPrice,
			Double stopPrice,
			LegDetails legDetails,
			boolean allOrNone) {
		
		
		this.orderId = orderId;
		this.orderPlacedTime = orderPlacedTime;
		this.orderValue = orderValue;
		this.orderStatus = orderStatus;
		this.orderType = orderType;
		this.orderTerm = orderTerm;
		this.priceType = priceType;
		this.limitPrice = limitPrice;
		this.stopPrice = stopPrice;
		this.legDetails = legDetails;
		this.allOrNone = allOrNone;
		
	}
	
	public Order() {
		
	}
	
	public void setMasterAccount(String masterAccount) {
		this.masterAccount = masterAccount;
	}
	
	public String getMasterAccount() {
		return this.masterAccount;
	}
	
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	
	public String getAccountId() {
		return this.accountId;
	}
	
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	
	public int getOrderId() {
		return this.orderId;
	}
	
	public void setOrderPlacedTime(Date orderPlacedTime) {
		this.orderPlacedTime = orderPlacedTime;
	}
	
	public Date getOrderPlacedTime() {
		return this.orderPlacedTime;
	}
	
	public void setOrderValue(Double orderValue) {
		this.orderValue = orderValue;
	}
	
	public Double getOrderValue() {
		return this.orderValue;
	}
	
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	
	public String getOrderStatus() {
		return this.orderStatus;
	}
	
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	public String getOrderType() {
		return this.orderType;
	}
	
	public void setOrderTerm(String orderTerm) {
		this.orderTerm = orderTerm;
	}
	
	public String getOrderTerm() {
		return this.orderTerm;
	}
	
	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}
	
	public String getPriceType() {
		return this.priceType;
	}
	
	public void setLimitPrice(Double limitPrice) {
		this.limitPrice = limitPrice;
	}
	
	public Double getLimitPrice() {
		return this.limitPrice;
	}
	
	public void setStopPrice(Double stopPrice) {
		this.stopPrice = stopPrice;
	}
	
	public Double getStopPrice() {
		return this.stopPrice;
	}
	
	public void setLegDetails(LegDetails legDetails) {
		this.legDetails = legDetails;
	}
	
	public LegDetails getLegDetails() {
		return this.legDetails;
	}
	
	public void setAllOrNone(boolean allOrNone) {
		this.allOrNone = allOrNone;
	}
	
	public boolean getAllOrNone() {
		return this.allOrNone;
	}
}
